package com.twoGroup.boot;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.ConfigurableApplicationContext;

@MapperScan("com.twoGroup.boot.mapper")
//@ServletComponentScan(basePackages = "com.twoGroup.boot")
@SpringBootApplication
public class TwoGroupApplication {

    public static void main(String[] args) {
        SpringApplication.run(TwoGroupApplication.class, args);
//        for (String beanDefinitionName : run.getBeanDefinitionNames()) {
//            logger.info(beanDefinitionName);
//        }
    }

}
